package me.luger.core.commom.util;

/**
 * Created by luger on 2017/3/18.
 */
public class CommandResult {
    public int    result;
    public String responseMsg;
    public String errorMsg;

    public CommandResult(int result) {
        this.result = result;
    }

    public CommandResult(int result, String responseMsg, String errorMsg) {
        this.result = result;
        this.responseMsg = responseMsg;
        this.errorMsg = errorMsg;
    }

    @Override
    public String toString() {
        return "CommandResult{" +
                "errorMsg='" + errorMsg + '\'' +
                ", result=" + result +
                ", responseMsg='" + responseMsg + '\'' +
                '}';
    }
}
